package org.jeecg.modules.xl.as.controller;
import org.jeecg.modules.xl.as.entity.XlCustomerAsDetail;
import org.jeecg.modules.xl.as.service.IXlCustomerAsDetailService;
import org.springframework.web.bind.annotation.*;

import org.springframework.beans.factory.annotation.Autowired;

/**
* 退货退款售后单明细表(xl_customer_as_detail)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/xl_customer_as_detail")
public class XlCustomerAsDetailController {
/**
* 服务对象
*/
    @Autowired
    private IXlCustomerAsDetailService customerAsDetailService;

    /**
    * 通过主键查询单条数据
    *
    * @param id 主键
    * @return 单条数据
    */
    @GetMapping("selectOne")
    public XlCustomerAsDetail selectOne(Integer id) {
    return customerAsDetailService.getById(id);
    }

}
